a = {"1","2","3","4","5","6"}
b = {"0","2","4","6","8"}
print(a.intersection(b))#intersection 交集
print(a&b)
print(a.union(b))#union 并集
print(a|b)

print(a.difference(b))#difference 不同，就是差集
print(b.difference(a))
print(a-b)
print(b-a)